<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common/common.jsp" %>
<%@ page import="com.chanyachting.emall.util.RequestUtil" %>
<%@ page import="com.chanyachting.emall.service.EmallproductService" %>
<%@ page import="com.chanyachting.emall.serviceImpl.EmallproductServiceImpl" %>
<%@ page import="com.chanyachting.emall.domain.Emallproduct" %>
<%@ page import="java.util.*" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" /> 
<meta name="description" content="" />
<link href="css/import.css" type="text/css" rel="stylesheet" />
<title></title>
</head>

<body>
<div class="tab_box">
	<div class="tab_menu">
        <a href="memberAccount_emallProduct.jsp" class="current">订购产品/服务</a>
        <a href="memberAccount_online_pay.jsp">充值</a>
        <a href="memberAccount_info.jsp">帐户信息</a>
        <a href="memberAccount_orders.jsp">付费记录</a>
    </div>
    <div class="tab_submenu"></div>
</div>
<form id="form1" name="form1" method="post" action="">
  <table width="700" border="0" align="center" cellpadding="0" cellspacing="0" class="orders">
    <tr>
      <td width="70" height="20" align="center"><strong>产品编号</strong></td>
      <td colspan="2" align="center"><strong>产品类型</strong></td>
      <td width="85" align="center"><strong>时间 </strong></td>
      <td width="67" align="center"><strong>单价</strong></td>
      <td width="95" align="center"><strong>数量 </strong></td>
      <td width="47" align="center"><strong>总价 </strong></td>
      <td width="73" align="center"><strong>操作 </strong></td>
    </tr>
    
    <%
    //获得已公开的产品服务列表
    
    EmallproductService epService=new EmallproductServiceImpl();
    
    List list=epService.getAllPublishEmallproduct();
    
    %>
    
    <%
    	if(list!=null && list.size()>0){
    		
    		Emallproduct ep=null;
    		
    		for(int i=0;i<list.size();i++){
    			
    			ep=(Emallproduct)list.get(i);
    %>
    <tr>
      <td height="28" align="center" bgcolor="#F0F0F0"><%= ep.getId() %></td>
      <td width="134" align="right" bgcolor="#F0F0F0"><%= ep.getName() %></td>
      <td width="129" align="left" bgcolor="#F0F0F0"> 
        <label>
        <select name="select" id="select">
          <option value="船艇售租">船艇售租</option>
          <option value="船艇出租">船艇出租</option>
          <option value="租售">租售</option>
          <option value="其它产品">其它产品</option>
        </select>
      </label></td>
      <td align="center" bgcolor="#F0F0F0">
        <select name="select2" id="select2">
          <option value="三个月">三个月</option>
          <option value="六个月">六个月</option>
          <option value="一年">一年</option>
      </select></td>
      <td align="center" bgcolor="#F0F0F0"><%= ep.getPrice() %></td>
      <td align="center" bgcolor="#F0F0F0">
        <select name="select3" id="select3">
          <option value="18个产品">18个产品</option>
          <option value="30个产品">30个产品</option>
        </select></td>
      <td bgcolor="#F0F0F0">&nbsp;</td>
      <td align="center" bgcolor="#F0F0F0"><label>
        <input type="submit" name="button3" id="button3" value="订购" />
        <input type="button" name="button4" id="button4" value="取消" />
      </label></td>
    </tr>
    
    <%			
    		}
    		
    		
    	}
    
    %>
    
    
    
    
    <tr>
      <td height="28" align="center">002</td>
      <td align="right">人才求职：</td>
      <td align="left">&nbsp;</td>
      <td align="center"><select name="select4" id="select4">
        <option value="三个月">三个月</option>
        <option value="六个月">六个月</option>
        <option value="一年">一年</option>
      </select></td>
      <td align="left">&nbsp;</td>
      <td align="center">
        <select name="select5" id="select5">
          <option value="30个以下">30个以下</option>
          <option value="不限">不限</option>
        </select></td>
      <td>&nbsp;</td>
      <td align="center"><input type="submit" name="button2" id="button5" value="订购" />
        <input type="button" name="button2" id="button6" value="取消" /></td>
    </tr>
    <tr>
      <td height="28" align="center" bgcolor="#F0F0F0">003</td>
      <td align="right" bgcolor="#F0F0F0">人才招聘：</td>
      <td align="left" bgcolor="#F0F0F0">&nbsp;</td>
      <td align="center" bgcolor="#F0F0F0"><select name="select15" id="select15">
          <option value="三个月">三个月</option>
          <option value="六个月">六个月</option>
          <option value="一年">一年</option>
      </select></td>
      <td align="left" bgcolor="#F0F0F0">&nbsp;</td>
      <td align="center" bgcolor="#F0F0F0"><select name="select15" id="select16">
          <option value="30个以下">30个以下</option>
          <option value="不限">不限</option>
      </select></td>
      <td bgcolor="#F0F0F0">&nbsp;</td>
    <td align="center" bgcolor="#F0F0F0"><input type="submit" name="button10" id="button17" value="订购" />
          <input type="button" name="button10" id="button18" value="取消" /></td>
    </tr>
    <tr>
      <td height="28" align="center">004</td>
      <td align="right">企业黄页关键字：</td>
      <td align="left">&nbsp;</td>
      <td align="center">
        <select name="select6" id="select6">
          <option value="三个月">三个月</option>
          <option value="六个月">六个月</option>
          <option value="一年">一年</option>
        </select>      </td>
      <td align="left">&nbsp;</td>
      <td align="center"><select name="select10" id="select10">
        <option value="1">1</option>
        <option value="2">2</option>
            </select></td>
      <td>&nbsp;</td>
      <td align="center"><input type="submit" name="button5" id="button7" value="订购" />
        <input type="button" name="button5" id="button8" value="取消" /></td>
    </tr>
    <tr>
      <td height="28" align="center" bgcolor="#F0F0F0">005</td>
      <td align="right" bgcolor="#F0F0F0">站内广告：</td>
      <td align="left" bgcolor="#F0F0F0">
        <select name="select7" id="select7">
          <option value="文字广告">文字广告</option>
          <option value="视频广告">视频广告</option>
          <option value="文字图片广告">文字图片广告</option>
        </select></td>
      <td align="center" bgcolor="#F0F0F0"><select name="select8" id="select8">
        <option value="一个月">一个月</option>
        <option value="三个月">三个月</option>
        <option value="六个月">六个月</option>
        <option value="一年">一年</option>
      </select></td>
      <td align="left" bgcolor="#F0F0F0">&nbsp;</td>
      <td align="center" bgcolor="#F0F0F0"><input name="textfield3" type="text" id="textfield3" size="8" /></td>
      <td bgcolor="#F0F0F0">&nbsp;</td>
      <td align="center" bgcolor="#F0F0F0"><input type="submit" name="button6" id="button9" value="订购" />
        <input type="button" name="button6" id="button10" value="取消" /></td>
    </tr>
    <tr>
      <td height="28" align="center">006</td>
      <td align="right">站内广告：</td>
      <td align="left"><select name="select15" id="select17">
          <option value="文字广告">文字广告</option>
          <option value="视频广告">视频广告</option>
          <option value="文字图片广告">文字图片广告</option>
      </select></td>
      <td align="center"><select name="select15" id="select18">
        <option value="不限">不限</option>
            </select></td>
      <td align="left"><input name="textfield4" type="text" id="textfield5" size="8" /></td>
      <td align="center"><input name="textfield3" type="text" id="textfield4" size="8" /></td>
      <td>&nbsp;</td>
  <td align="center"><input type="submit" name="button10" id="button19" value="订购" />
          <input type="button" name="button10" id="button20" value="取消" /></td>
    </tr>
    <tr>
      <td height="28" align="center" bgcolor="#F0F0F0">007</td>
      <td align="right" bgcolor="#F0F0F0">百会在线办公软件：</td>
      <td align="left" bgcolor="#F0F0F0"><select name="select11" id="select11">
          <option value="选择 " selected="selected">选择 </option>
          <option value="CRM企业版">CRM企业版</option>
          <option value="CRM专业版">CRM专业版</option>
        <option value="项目管理企业版">项目管理企业版</option>
        <option value="办公门户超强版">办公门户超强版</option>
                  </select></td>
      <td align="center" bgcolor="#F0F0F0">
        <select name="select9" id="select9">
          <option value="月付">月付</option>
          <option value="年付">年付</option>
        </select></td>
      <td align="left" bgcolor="#F0F0F0">&nbsp;</td>
      <td align="center" bgcolor="#F0F0F0"><label>
        <input name="textfield" type="text" id="textfield" size="8" />
      </label></td>
      <td bgcolor="#F0F0F0">&nbsp;</td>
      <td align="center" bgcolor="#F0F0F0"><input type="submit" name="button9" id="button15" value="订购" />
        <input type="button" name="button9" id="button16" value="取消" /></td>
    </tr>
    <tr>
      <td height="28" align="center">008</td>
      <td align="right">黑莓pushmai：</td>
      <td align="left">&nbsp;</td>
      <td align="center"><select name="select12" id="select12">
        <option value="月付">月付</option>
        <option value="年付">年付</option>
      </select></td>
      <td align="left">&nbsp;</td>
      <td align="center"><input name="textfield2" type="text" id="textfield2" size="8" /></td>
      <td>&nbsp;</td>
      <td align="center"><input type="submit" name="button7" id="button11" value="订购" />
        <input type="button" name="button7" id="button12" value="取消" /></td>
    </tr>
    <tr>
      <td height="28" align="center" bgcolor="#F0F0F0">009</td>
      <td align="right" bgcolor="#F0F0F0">微软SharePoint：</td>
      <td align="left" bgcolor="#F0F0F0">&nbsp;</td>
      <td align="center" bgcolor="#F0F0F0"><select name="select13" id="select13">
        <option value="月付">月付</option>
        <option value="年付">年付</option>
      </select></td>
      <td align="left" bgcolor="#F0F0F0">&nbsp;</td>
      <td align="center" bgcolor="#F0F0F0"><select name="select14" id="select14">
        <option value="500M">500M</option>
        <option value="1G">1G</option>
        <option value="2G">5G</option>
            </select></td>
      <td bgcolor="#F0F0F0">&nbsp;</td>
      <td align="center" bgcolor="#F0F0F0"><input type="submit" name="button8" id="button13" value="订购" />
        <input type="button" name="button8" id="button14" value="取消" /></td>
    </tr>
    <tr>
      <td height="28" align="center">010</td>
      <td align="right">云计算服务：</td>
      <td align="left">&nbsp;</td>
      <td align="center"><select name="select16" id="select19">
          <option value="月付">月付</option>
          <option value="年付">年付</option>
      </select></td>
      <td align="left">&nbsp;</td>
      <td align="center"><input name="textfield5" type="text" id="textfield6" size="8" /></td>
      <td>&nbsp;</td>
      <td align="center"><input type="submit" name="button" id="button" value="订购" />
          <input type="button" name="button" id="button2" value="取消" /></td>
    </tr>
  </table>
</form>
</body>
</html>
